package com.muli.muwai.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muli.muwai.entity.IntfClient;
import com.muli.muwai.mapper.ClientMapper;
import com.muli.muwai.service.ClietService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClietServiceImpl extends ServiceImpl<ClientMapper, IntfClient> implements ClietService {
    @Override
    public void saveClient(List<IntfClient> intfClient) {
        saveBatch(intfClient);
    }

    @Override
    public void delectData() {
        int delete = baseMapper.delete(null);
        System.out.println(delete);
    }
}
